Observes all items in readonly collection.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function ObserveList(Of TI)( _
ByVal list As System.Collections.Generic.IEnumerable(Of TI), _
ByVal subscribeItem As System.Func(Of TI,IDisposable) _
) As System.IDisposable |
C# | |
---|
public static System.IDisposable ObserveList<TI>(
System.Collections.Generic.IEnumerable<TI> list,
System.Func<TI,IDisposable> subscribeItem
) |
Parameters
- list
- subscribeItem
Type Parameters
- TI
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also